﻿<%@ Control Language="C#" AutoEventWireup="true" Codebehind="Content_Detail.ascx.cs"
    Inherits="NCS.Module.CMS.Web.HomePage.Content_Detail" %>
<%@ Register Src="AddComment.ascx" TagName="AddComment" TagPrefix="uc3" %>
<%@ Register Src="../PrintPreview.ascx" TagName="PrintPreview" TagPrefix="uc2" %>
<%@ Register Src="ListComment.ascx" TagName="ListComment" TagPrefix="uc1" %>
<%@ Register Assembly="NCS.Module.MultiLanguage" Namespace="NCS.Module.MultiLanguage.WebControls"
    TagPrefix="cc1" %>
<div class="box_news_main">
    <!--begin title nhom tin-->
    <div class="tittle_tinchinh">
        <div class="text_tittle2" >
            <a class="text_tinhoatdong" href="<% = this.zoneurl %>" style="float: left">
                <% = this.zonename %>
            </a>        
        </div>
        <div class="text_tittle2_right">
            <asp:HyperLink ID="hplSendMail" runat="server" Target="_blank"><img border="0" src="/Images/HomePage/button_email.gif" /></asp:HyperLink>        
            <asp:HyperLink ID="hplPrintPreviews" runat="server" Target="_blank"><img border="0" src="/Images/HomePage/button_inbaiviet.gif" /></asp:HyperLink>
            <!--<asp:HyperLink ID="hplPdf" runat="server" Target="_blank">L&#432;u file PDF</asp:HyperLink>-->
        </div>
    </div>
    <div class="bg_tittle_sub">
        <div class="tincap3_tittle" style="width:100%;">
            <div style="float:left;">
                <asp:Label ID="lblSpecialHeadline" runat="server" CssClass="text_detail_3"></asp:Label>
                <asp:Label ID="lblSubTitile" runat="server" Visible="false" CssClass="text_detail_3"></asp:Label>
            </div>
            <div class='ngaydang_home' style="float:right;font-weight:normal;">
                <asp:Label ID="lbdate" runat="server"></asp:Label>
            </div>
            <div style="clear:both;"></div>
        </div>            
        <div id="detail_news" style="width:613px;float:left;color:#373737;font-weight:normal;">
            <asp:Literal ID="lttImg" runat="server"></asp:Literal>
            <asp:Literal ID="litSpecialContentBody" runat="server"></asp:Literal>
        </div>    
    </div>
</div>

<uc1:ListComment ID="ListComment1" runat="server" />

<uc3:AddComment ID="AddComment1" runat="server" />

<asp:Panel ID="pnlOther" runat="server" style='display:inline-block;width:100%;'>

    <asp:Panel ID="pnlNewContent" runat="server">
        
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td align="left">
                        <cc1:MLLabel ID="MLLabel1" runat="server" CssClass="tinkhac" LanguageKey="NewContent"></cc1:MLLabel>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Repeater ID="rptNewContent" runat="server" OnItemDataBound="rptNewContent_ItemDataBound">
                        <ItemTemplate>
                                <asp:HyperLink ID="hplTitle" runat="server" CssClass="text_tinhcon2"></asp:HyperLink>
                        </ItemTemplate>
                    </asp:Repeater>
                </td>
            </tr>
        </table>

    </asp:Panel>
</asp:Panel>

<style type="text/css">
#facebox{
z-index:10000;
}
</style>

<script type="text/javascript">

$(document).ready(function(){
    
    $('#detail_news img').css('cursor', 'pointer');
    
    $('#detail_news img').click(function(){
        
        jQuery.facebox({ 
            image: $(this).attr('src'), 
            loading_image : '/Jscripts/facebox/loading.gif',
            close_image   : '/Jscripts/facebox/closelabel.gif'
         });
        
    })

});

</script>